package uno.rocc.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import uno.rocc.common.core.domain.BaseQueryParam;
import uno.rocc.common.core.service.BaseService;
import uno.rocc.system.domain.dao.SysRole;
import uno.rocc.system.domain.dao.SysRolePermission;

import java.util.List;

public interface SysRoleService extends BaseService<BaseQueryParam, SysRole, SysRole> {
    /**
     * 为角色添加权限
     * @param id
     * @param permissionIds
     */
    void addPermission(Integer id, List<Integer> permissionIds);
}
